package com.atguigu.springcloud.alibaba.dao;

import com.atguigu.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Kevin
 * @Date 2021-04-19 15:22:18
 */
@Mapper
public interface OrderDao {
    /**
     * 创建订单
     *
     * @param order
     */
    void create(Order order);

    /**
     * 修改订单金额
     *
     * @param userId
     * @param status
     */
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
